<script setup>

import Header from '../../components/Header.vue';
import titles from '../../components/titles.vue'
import tabs from '../../components/tabs.vue'
import { ref } from 'vue';

let index = ref(2)

</script>

<template>
    <Header></Header>
    <div class="content">
        <titles :title="'Account Information / Password'"></titles>
        <div class="box">
            <tabs :pass="index"></tabs>
            <div class="right-box">
                <div class="right-box-title">
                    <p class="title">Password</p>
                    <div class="right-box-title-input">
                        <p>Old Password</p>
                        <p>********</p>
                    </div>
                    <div class="right-box-title-input">
                        <p>New Password</p>
                        <p>********</p>
                    </div>
                    <div class="right-box-title-input">
                        <p>Confirm Password</p>
                        <p>********</p>
                    </div>
                </div>
                <div class="right-box-bottom">
                    <button class="btn_red">Submit</button>
                    <button class="btn_red_empty">Back</button>
                </div>

            </div>
        </div>
    </div>
</template>
<style scoped>
.content {
    width: 1100px;
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    margin-top: 100px;

    .title {
        display: flex;
        color: #1F2930;
        font-size: 20px;
        font-weight: 600;
        line-height: 30px;

        p {
            margin: 0 10px 20px 0;
        }

        .title-home {
            color: #0F094C;
        }
    }

    .box {
        display: flex;

        .left-box {
            display: flex;
            flex-direction: column;
            border: 1px solid #EFEFEF;
            width: 271px;
            height: 862px;
            margin: 0 20px 0 0;

            .left-box-active {
                p {
                    color: #EC535B;
                    font-weight: 700;
                    font-size: 18px;
                }

                background-color: #FFECEC;
            }

            p {
                margin: 20px 0 20px 10px;
                color: #1F2930;
                font-size: 18px;
                font-weight: 400;
            }
        }

        .right-box {
            border: 1px solid #EFEFEF;
            width: 900px;
            height: 862px;

            .right-box-title {
                margin: 20px;
                .right-box-title-input{
                    display: flex;
                    justify-content: space-between;
                    width: 358px;
                    height: 44px;
                    border: 1px solid #EFEFEF;
                    border-radius: 6px;
                    margin: 30px 0 10px 0;
                    p{
                        margin: auto 20px;
                        color: #9A9A9A;
                    }
                }
            }
            .right-box-bottom{
                display: flex;
                justify-content: end;

                button{
                    width: 149px;
                    height: 44px;
                    margin: 450px 50px 0 0;
                    
                }
            }

        }
    }
}
</style>
